#pragma once

namespace ISAPI_Python {

	namespace Win32Helpers {

		class CriticalSection {
		private:
			CriticalSection(const CriticalSection& criticalSection);
			CriticalSection& operator = (const CriticalSection& otherCriticalSection);

		protected:
			CRITICAL_SECTION Handle;

		public:
			CriticalSection();
			~CriticalSection();

			void Enter();
			void Leave();
		};
	}
}